package com.bruce.springcloud;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author luotuan
 * @Description
 * @create 2021-01-22 16:37
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
public class ServiceTest2Application {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ServiceTest2Application.class).web(WebApplicationType.SERVLET).run(args);
    }
}